package me.firstapp.repository.weixin.transfer;

import java.util.Date;
import java.util.List;
import java.util.Map;

import me.firstapp.common.utils.Page;
import me.firstapp.module.weixin.transfer.TransferMemberRecord;
import me.firstapp.repository.base.EntityRepository;

public interface TransferMemberRecordRepository extends EntityRepository<TransferMemberRecord> {

	TransferMemberRecord findByOpenIdAndRecordNo(String openId, String recordNo);

	List<TransferMemberRecord> findByStatus(Integer status);

	Page<TransferMemberRecord> findTransferMemberRecordPage(Integer pageNo, Integer pageSize,
			Map<String, Object> searchParams, String sortParam, String sortType, Date startTime, Date endTime);
}
